<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
<LINK href="Unilearn.css" type=text/css rel=stylesheet>
<script type="text/javascript">
function login( ){
	//alert(document.getElementById("username").value);
	var user =  document.getElementById("username").value.toLowerCase();
	//var pass = document.getElementById("password").value;
	//alert(user +","+pass);
	switch (user){
		case "student":{
		     window.location='Student_main.html';
			 //alert("student page");
			 break;
		}
		case "marker":{
			window.location='Marker_main.html';
			break;
		}
		default:{
			alert("Username is wrong");
			break;
		}
	
	}
}

</script>
</head>
<body>


<div id="container">
  <div id="row">

  	<div id="left">
			<table width="177" border="0" cellpadding="0" cellspacing="0" class="login_box" summary="Login Here">
			  <tr>
				<td class="box"><p><strong>Student login here</strong></p>
				  <p>
					  <label for="username">Log in ID: </label>
					<br>

					  <input type="text" name="user" id="username" class="form_textfield" style="width:150px" tabindex="1">
				  </p>
					<p>
					<label for="password">Password: </label>
					<br>
					<input type="password" name="pass" id="password" class="form_textfield" style="width:150px" tabindex="2"></p>
					<p>
					  <input class="inputSubmit" name="btSubmit" type="submit" id="btSubmit" value="Login" onclick=  "login()">
					  <input class="inputSubmit" name="btCancel" type="submit" id="btCancel" value="Cancel">
					</p></td>
			  </tr>
      </table>
  	</div>

	<div id="right">
		<div align="center"><h1>Welcome to The Unilearn Submission System</h1></div>
		<div id="midle" >
		</div>
	</div>



	</div>
</div>

</body>


</html>
